{assign $pathImageEntreprise = ENTREPRISE_PATH_PHOTO}
<div id="global" class="search">
  {$oZoneHeader}
  <div id="main">
    {$oZoneBreadCrumb}
    <div id="leftContent2">
      <div id="liste_entreprise">
        <h2>{$type->type_name} {if $deptNom}{$deptNom->departement_nom} {elseif $ville}{$ville} {else} {$region} {/if}</h2>
        <div class="wrap">
          <div class="resultat"><div class="resultatB">Réponses avec <strong>" {$type->type_name} " </strong> et <strong> "{if $deptNom}{$deptNom->departement_nom} {elseif $ville}{$ville}{else} {$region}{/if} ": {$nb}</strong> entreprises trouvées</div></div>
          {$oZoneEntrepriseHeader}

          {foreach $entreprise as $item}
           <div class="block">
           	<div class="bBlocks">
             <div class="b1">
              <div class="infos">{$item->entreprise_name}</div>
              <div class="adresse">
                <p>{$item->entreprise_adresse}</p>
                <p>{$item->entreprise_cp} {$item->entreprise_ville} </p>
                <p>Tel : {$item->entreprise_tel} </p>
                {if $item->entreprise_fax != "NULL" && $item->entreprise_fax}
                <p>Fax  : {$item->entreprise_fax} </p>
                {/if}
              </div>
            </div>
            <div class="b2"> <a href="#"><img src="{$pathImageEntreprise}{$item->entreprise_logo}" alt="{$item->entreprise_name}" /></a>
            {if $item->entreprise_description || $item->entreprise_ouverture || $item->entreprise_piece}
              <div class="desc">
                <p><a href="#">{$item->entreprise_description} </a></p>
              </div>
            {/if}
            </div>
            </div>
          </div>
          {/foreach}

          <div class="pagination2"> 
          {if $oNavBar->iNbPages > 1}
            {if $oNavBar->iPrevPage > 0}
               <a href="{jurl 'entreprise~FoEntreprise:entreprise', array('iCurrentPage' => $oNavBar->iPrevPage,'type'=>$type->type_name, 'cur'=>$deptNum)}" class="prec" title="Précedente"></a>
            {/if}
            <div class="cont">
              <ul>
                  {foreach $oNavBar->tiPages as $iPage}
                    <li> 
                       <a class="{if $iPage == $oNavBar->iCurrPage}active{/if}" href="{jurl 'entreprise~FoEntreprise:entreprise', array('iCurrentPage' => $iPage,'type'=>$type->type_id, 'cur'=>$deptNum)}">{$iPage}</a>
                    </li>
                  {/foreach}
              </ul>
            </div>

            <div class="autres">
                {if $oNavBar->iNbPages > $oNavBar->iCurrPage}
                  <a href="{jurl 'entreprise~FoEntreprise:entreprise', array('iCurrentPage' => $oNavBar->iNextPage,'type'=>$type->type_id, 'cur'=>$deptNum)}" title="Suivante" class="suiv" style="margin-top:0; margin-right:5px;" ></a>
                  <a  href="{jurl 'entreprise~FoEntreprise:entreprise', array('iCurrentPage' => $oNavBar->iNextPage,'type'=>$type->type_id, 'cur'=>$deptNum)}" title="Suivante">Suivant</a>
                  <a href="#">Haut de page {$type->type_name} {if $deptNom}{$deptNom->departement_nom} {elseif $ville}{$ville}{else} {$region}{/if}</a> <a href="{jurl 'localite~FoLocalite:index', array('id'=>$type->type_id)}">Nouvelle recherche</a>
                {/if}
            </div>
               {else}
            <div class="autres">
               <a href="#">Haut de page {$type->type_name} {if $deptNom}{$deptNom->departement_nom} {elseif $ville}{$ville}{else} {$region}{/if}</a><a  style="margin-left:180px" href="{jurl 'localite~FoLocalite:index', array('id'=>$type->type_id)}">Nouvelle recherche</a>
            </div>
                {/if}
          </div>
        </div>
        <div class="deco">&nbsp;</div>
      </div>
      <!-- end liste entreprise-->
       {$oZoneEntrepriseRestrict}
    </div>
    <div id="rightContent">
    	{meta_html js $j_basepath.'design/front/js/carousel_custom2.js'}
       <div id="annonces2">{$oZoneDiapoAnnonce}</div>
      {$oZoneEntrepriseRight}
      {$oZoneMarquePopulaire}
    </div>
    <div class="clear">&nbsp;</div>
  </div>
  <div id="SideBar"><a href="#" id="top"><img alt="" src="{$j_basepath}design/front/images/top.png" title="" /></a></div>
</div>
{$oZoneFooter}

{literal}
<script type="text/javascript">
    $('#top').click(function () {
        $('#global').focus();
    });
</script>
{/literal}

